
// 博客名称
$(".blog-logo").html(blogName);

// 获取顶部导航栏
$("#navigation").html(
    "<!--QQ登录处-->\n" +
    "<a href=\"userLogin.html\" class=\"blog-user\" target=\"_blank\">\n" +
    "<i class=\"fa fa-user\"></i>\n" +
    "</a>\n" +
    "<a class=\"blog-logo\" href=\""+indexUrl+"index.html\">"+blogName+"</a>\n" +
    "\n" +
    "<ul class=\"layui-nav\" lay-filter=\"nav\">\n" +
    "<li class=\"layui-nav-item\">\n" +
    "\t\t\t\t\t\t<a href=\""+indexUrl+"index.html\"><i class=\"fa fa-home fa-fw\"></i>&nbsp;网站首页</a>\n" +
    "\t\t\t\t\t</li>\n" +
    "\t\t\t\t\t<li class=\"layui-nav-item\">\n" +
    "\t\t\t\t\t\t<a href=\""+indexUrl+"article.html\"><i class=\"fa fa-file-text fa-fw\"></i>&nbsp;文章专栏</a>\n" +
    "\t\t\t\t\t</li>\n" +
    "\t\t\t\t\t<li class=\"layui-nav-item\">\n" +
    "\t\t\t\t\t\t<a href=\""+indexUrl+"mixed_pic.html\"><i class=\"fa fa-paper-plane-o fa-fw\"></i>&nbsp;杂七杂八</a>\n" +
    "\t\t\t\t\t</li>\n" +
    "\t\t\t\t\t<li class=\"layui-nav-item\">\n" +
    "\t\t\t\t\t\t<a href=\""+indexUrl+"timeline.html\"><i class=\"fa fa-hourglass-half fa-fw\"></i>&nbsp;点点滴滴</a>\n" +
    "\t\t\t\t\t</li>\n" +
    "\t\t\t\t\t<li class=\"layui-nav-item\">\n" +
    "\t\t\t\t\t\t<a href=\""+indexUrl+"about.html\"><i class=\"fa fa-info fa-fw\"></i>&nbsp;关于本站</a>\n" +
    "\t\t\t\t\t</li>\n" +
    "\t\t\t\t\t<span class=\"layui-nav-bar\"></span>"+
    "\n" +
    "</ul>\n" +
    "\n" +
    "<a class=\"blog-navicon\" href=\"javascript:;\">\n" +
    "<i class=\"fa fa-navicon\"></i>\n" +
    "</a>"
);

// 手机端的导航
$("#layui-nav").html(
    "<li class=\"layui-nav-item\">\n" +
    "\t\t\t\t\t\t<a href=\""+indexUrl+"index.html\"><i class=\"fa fa-home fa-fw\"></i>&nbsp;网站首页</a>\n" +
    "\t\t\t\t\t</li>\n" +
    "\t\t\t\t\t<li class=\"layui-nav-item\">\n" +
    "\t\t\t\t\t\t<a href=\""+indexUrl+"article.html\"><i class=\"fa fa-file-text fa-fw\"></i>&nbsp;文章专栏</a>\n" +
    "\t\t\t\t\t</li>\n" +
    "\t\t\t\t\t<li class=\"layui-nav-item\">\n" +
    "\t\t\t\t\t\t<a href=\""+indexUrl+"mixed_pic.html\"><i class=\"fa fa-paper-plane-o fa-fw\"></i>&nbsp;杂七杂八</a>\n" +
    "\t\t\t\t\t</li>\n" +
    "\t\t\t\t\t<li class=\"layui-nav-item\">\n" +
    "\t\t\t\t\t\t<a href=\""+indexUrl+"timeline.html\"><i class=\"fa fa-hourglass-half fa-fw\"></i>&nbsp;点点滴滴</a>\n" +
    "\t\t\t\t\t</li>\n" +
    "\t\t\t\t\t<li class=\"layui-nav-item\">\n" +
    "\t\t\t\t\t\t<a href=\""+indexUrl+"about.html\"><i class=\"fa fa-info fa-fw\"></i>&nbsp;关于本站</a>\n" +
    "\t\t\t\t\t</li>\n" +
    "\t\t\t\t\t<span class=\"layui-nav-bar\"></span>"
);

// 底部信息
$(".blog-footer").html(
    "<p><span>Copyright</span><span>©</span><span>2018</span>\n" +
    "\t\t\t\t<a href=\"index.html\">"+blogName+" 博客</a><span>Design By "+blogName+"</span></p>\n" +
    "\t\t\t<p>\n" +
    "\t\t\t\t<a href=\"https://cloud.tencent.com/product/ba?from=10680\" target=\"_blank\">湘ICP备18010289号</a>\n" +
    "\t\t\t</p>"
);

// 加载喇叭区域
$(".home-tips-container").html(
    "<span style=\"color: rgb(0, 150, 136); cursor: pointer; display: none;\">\n" +
    "                                <span>网站处于试运行过程，如遇到bug，可以及时与我联系哦，首页左侧可以联系我，或者给我留言。</span>\n" +
    "                            </span>\n" +
    "                            <span style=\"color: rgb(0, 150, 136); cursor: pointer; display: block;\">\n" +
    "                                <span>"+blogName+"博客&nbsp; —— &nbsp;一个Java程序员的个人博客，网站采用Layui为前端框架，记录技术交流，工作心得体会！</span>\n" +
    "                            </span>\n" +
    "                            <span style=\"color: rgb(0, 150, 136); cursor: pointer; display: none;\">感谢您发现本站，本站内容不一定能提供您最大的帮助，但本站内容会持续更新的。</span>"
);
